<?php
namespace app\wxapp\controller;


// class Base extends \think\Controller {
 class Base extends \app\common\controller\Base{

	//初始化函数
	public function _initialize() {

		parent::_initialize();
		$this->res = array("code"=>0,"msg"=>"ok","data"=>"");

	}
	
	public function _empty(){
		die(myJSON(array("code"=>9999,"msg"=>"base:请求地址错误!")));
	}

	public function _mustPost(){
		if(!request()->isPost()){
			die(myJSON(array("code"=>9999,"msg"=>"不是post请求!")));
		}
		
	}



}
?>